﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace hes.models
{
    // this place is awesome
    class Assignment
    {
        private int assignmentid;
        private string title;
        private int pointspossible;
        private int pointsearned;
        private int categoryid;

        public Assignment() { }
        public Assignment(string _title, int category_id, int points_pos = 0, int points_earned = 0)
        {
            this.Title = _title;
            this.PointsEarned = points_earned;
            this.PointsPossible = points_pos;
            this.CategoryID = category_id;
        }


        public int AssignmentID
        {
            get { return assignmentid; }
            set { assignmentid = value; }
        }
        
        public string Title
        {
            get { return title; }
            set { title = value; }
        }

        public int PointsPossible
        {
            get { return pointspossible; }
            set { pointspossible = value; }
        }
       
        public int PointsEarned
        {
            get { return pointsearned; }
            set { pointsearned = value; }
        }

        public int CategoryID
        {
            get { return categoryid; }
            set { categoryid = value; }
        }
    }
}
